const db=uniCloud.database()
'use strict';
exports.main = async (event, context) => {
const {name,tel} = event
// const res =	await db.collection("users").get()
// const res =  await db.collection('users').count()
const res  = await db.collection("users").add({name,tel})
return  res
}; 